package me.flyray.bsin.facade.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import me.flyray.bsin.domain.entity.Conversation;
import me.flyray.bsin.domain.entity.ConversationMessage;

import java.util.List;
import java.util.Map;

/**
* @description 针对表【ai_conversation(交谈会话记录)】的数据库操作Service
*/
public interface ConversationService {

    /**
     * @return
     */
    Conversation add(Map<String, Object> requestMap);

    /**
     * @return
     */
    void delete(Map<String, Object> requestMap);

    public Conversation getDetail(Map<String, Object> requestMap);

    /**
     * @return
     */
    IPage<?> getPageList(Map<String, Object> requestMap);

    /**
     * @return
     */
    List<Conversation> getList(Map<String, Object> requestMap);

    /**
     * 数据推送
     */
    public void messagePush(Map<String, Object> requestMap);

}
